import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/home'
import Shoppingmall from '@/components/Shoppingmall/shoppingmall'
import Homepage from '@/components/Homepage/homepage'
import List from '@/components/The_list/list'
import Cinema from '@/components/cinema/cinnema'
import Movies from '@/components/movies/movies'
import HotMovicesList from'@/components/The_list/components/HotMovices/HotMovicesList.vue'
import MostExpectMovicesList from'@/components/The_list/components/MostExpectMovices/MostExpectMovicesList.vue'
import TopMovicesList from'@/components/The_list/components/TopMovices/TopMovicesList.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/shoppingmall',
      name: 'Shoppingmall',
      component:Shoppingmall
    },
    {
      path: '/homepage',
      name: 'Homepage',
      component:Homepage
    },
    {
      path: '/list',
      name: 'List',
      component:List
    },
    {
      path: '/cinema',
      name: 'Cinema',
      component:Cinema
    },
    {
      path: '/movies',
      name: 'Movies',
      component:Movies
    },
    {
      path: '/HotMovices',
      name: 'HotMovicesList',
      component:HotMovicesList
    },
    {
      path: '/MostExpectMovicesList',
      name: 'MostExpectMovicesList',
      component:MostExpectMovicesList
    },
    {
      path: '/TopMovicesList',
      name: 'TopMovicesList',
      component:TopMovicesList
    }

  ]
})
